package cn.hengzhu.main_manager.repository.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.hengzhu.main_manager.repository.domain.ManageCaseUsetime;
import cn.hengzhu.main_manager.repository.domain.ManageCaseUsetimeExample;
import cn.hengzhu.main_manager.repository.param.CaseUseTimeParam;

public interface ManageCaseUsetimeMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(ManageCaseUsetimeExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(ManageCaseUsetimeExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int insert(ManageCaseUsetime record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(ManageCaseUsetime record);

    /**
     *
     * @mbg.generated
     */
    List<ManageCaseUsetime> selectByExample(ManageCaseUsetimeExample example);

    /**
     *
     * @mbg.generated
     */
    ManageCaseUsetime selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") ManageCaseUsetime record, @Param("example") ManageCaseUsetimeExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") ManageCaseUsetime record, @Param("example") ManageCaseUsetimeExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(ManageCaseUsetime record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(ManageCaseUsetime record);
    
    
    List<ManageCaseUsetime> getUseEndTimeList(@Param("param") CaseUseTimeParam param);
    
    int updateUseEndTimeByCaseNo(@Param("record") ManageCaseUsetime record);

}